package com.trade.model;

import java.io.Serializable;

/**
 * 
 * @author Lin Yang
 * 
 */
public class User implements Serializable {
    private static final long serialVersionUID = -8104492935918184262L;
    private long userID;
    private String loginName;
    private String name;
    private String email;
    private String password;
    private String mobileNumber;
    private Role role;

    public long getUserID() {
        return userID;
    }

    public void setUserID(long userID) {
        this.userID = userID;
    }

    public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginname) {
		this.loginName = loginname;
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobileNumber() {
        return mobileNumber;
    }

    public void setMobileNumber(String mobileNumber) {
        this.mobileNumber = mobileNumber;
    }

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}
}
